package com.medical.lsq.dao;

import com.medical.lsq.entity.SysPolicy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPolicyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysPolicy record);

    int insertSelective(SysPolicy record);

    SysPolicy selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysPolicy record);

    int updateByPrimaryKey(SysPolicy record);

//    List<SysPolicy> getPolicyList(@Param("policyYear")String policyYear);
    /**
     * 根据areaId获取所有子区域信息列表
     * @return
     */
    List<SysPolicy> getPolicyChilderList(@Param("policyId") String policyId);


    List<SysPolicy> getPolicyList(@Param("policyYear") String policyYear);
}